package com.lm.service;

import com.github.pagehelper.PageInfo;
import com.lm.model.TDmMajor;
import com.lm.model.TEntityMajor;
import com.lm.util.ExcelBaseBean;
import com.lm.vo.UniversitySimple;

import java.util.List;

public interface MajorService {
    Integer addEntity(TEntityMajor major);

    Integer updateEntity(TEntityMajor major);

    Integer updateStatue(String id);

    PageInfo getList(String keyword, Integer pageSize, Integer pageNumber);

    List<TEntityMajor> getListSimple();

    ExcelBaseBean getTemplate();

    List<TDmMajor> getAllDmMajor();

    List<UniversitySimple> getAllUniversity();

    int addEntities(List<TEntityMajor> majors);
}
